package com.kclmedu.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/***************
 * @Author yejf
 * @Description TODO
 * @Date 22:37 2019-12-01
 * @param
 * @return
 */
@SpringBootApplication
@EnableDiscoveryClient //注册到服务中心
@EnableEurekaClient
@EnableFeignClients //开启 Feign 的功能
public class ServiceFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceFeignApplication.class, args);
    }

}
